package com.sxfq.loansupermarket.backsystem.modular.marketing.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.common.persistence.model.ExtenAccountInfo;
import com.sxfq.loansupermarket.backsystem.modular.marketing.entity.ReservationsCallInfo;
import com.sxfq.loansupermarket.backsystem.modular.marketing.entity.ReturnVInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * dao
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface CallRecordsDao extends BaseMapper<ReservationsCallInfo> {
    List<ReservationsCallInfo> getQueryPagesRecond(@Param("page") Page<ReservationsCallInfo> page, Map<String, Object> params);

    int getQueryPagesCallCount(@Param("page") Page<ReservationsCallInfo> page, Map<String, Object> params);

    List<ReservationsCallInfo> getQueryPagesInRecond(@Param("page") Page<ReservationsCallInfo> page, Map<String, Object> params);

    int getQueryPagesCallInCount(@Param("page") Page<ReservationsCallInfo> page, Map<String, Object> params);

    List<ExtenAccountInfo> getArealist();

    List<ExtenAccountInfo> getWanNameList(Map<String, Object> params);

    List<ReservationsCallInfo> getRecondlist(Map<String, Object> params);

    int handleMissed(ReservationsCallInfo reservationsCallInfo);

    List<ReturnVInfo> returnVlist(Map<String, Object> params);
}